<template>
  <div id="nav">
    <tabar v-if="route.meta.showTab"></tabar>
  </div>
  <router-view/>
</template>
<script>
import tabar from "./components/tabar";
import {useRoute}from "vue-router"
export default {
  setup(){
    const route=useRoute()
    return{
      route
    }
  },
  components:{
    tabar
  }
}
</script>
<style lang="less">

</style>
